.global _EnvHookBridge
.extern _EnvReturnAddress

;/*
;   EnvReturnAddress is a global void pointer created by envhook.c
;   It holds the return address where the EnvHookBridge has to jump
;*/
_EnvHookBridge: 
                pusha;
                pushf;
                call        _EnvHookBody;           # Go to the hook's body
                popf;
                popa;
                mov         0x10(%esp), %edx;       # Overwritten instructions
                mov         (%esi), %ecx;
                jmp         *(_EnvReturnAddress);   # Return to the original location
